﻿namespace AC.ExtendedRenderer.Toolkit.Charting
{
    using System;
    using System.Drawing;

    public class CBackgroundProperty
    {
        private Color gradientColor1 = Color.FromArgb(0xff, 200, 210, 0xff);
        private Color gradientColor2 = Color.FromArgb(0xff, 100, 100, 0x9b);
        private PaintingModes paintingMode = PaintingModes.LinearGradient;
        private Color solidColor;

        public CBackgroundProperty()
        {
            this.solidColor = this.gradientColor2;
        }

        public Color GradientColor1
        {
            get
            {
                return this.gradientColor1;
            }
            set
            {
                this.gradientColor1 = value;
            }
        }

        public Color GradientColor2
        {
            get
            {
                return this.gradientColor2;
            }
            set
            {
                this.gradientColor2 = value;
            }
        }

        public PaintingModes PaintingMode
        {
            get
            {
                return this.paintingMode;
            }
            set
            {
                this.paintingMode = value;
            }
        }

        public Color SolidColor
        {
            get
            {
                return this.solidColor;
            }
            set
            {
                this.solidColor = value;
            }
        }

        public enum PaintingModes
        {
            SolidColor,
            LinearGradient
        }
    }
}

